package com.mccken.springframework.util;

/**
 * @program: mccken-collect
 * @description:
 * @author: mccken
 * @create: 2022-11-30 15:28
 **/
public class ClassUtils {
	
	public static ClassLoader getDefaultClassLoader() {
		ClassLoader cl = null;

		try{
			cl = Thread.currentThread().getContextClassLoader();
		}
		catch(Throwable t) {
			// 
		}
		
		if (cl == null) {
			
			cl = ClassUtils.class.getClassLoader();
		}
		
		return cl;
	}
}
